<?php
namespace App\Admin\Models;
use Common\BaseModel;
class HomeSearchBar extends BaseModel
{
    protected $res;
    protected $redis_key="admin_";
    public function getSource()
    {
        return "view_home_search_bar";
    }
    public function initialize()
    {
        parent::initialize();
    }


    public function get_search_list(){
        $user_list = $this::find();
        return $user_list;
    }

    public function find_by_id_obj($id){
        return $this->findFirstById($id);
    }

}
